package be.jsams.server.dao;

import java.util.List;

import be.jsams.common.bean.model.management.ProductBean;
import be.jsams.server.model.Product;

/**
 * Product DAO interface.
 * 
 * @author chesteric31
 * @version $Rev: 622 $ $Date:: 2011-03-14 13:24#$ $Author: chesteric31 $
 */
public interface ProductDao extends Dao<Product> {

    /**
     * Finds a list of {@link Product} following the criteria model
     * 
     * @param criteria
     *            the criteria model
     * @return a list of {@link Product}
     */
    List<Product> findByCriteria(final ProductBean criteria);

}
